package files;

import javax.print.attribute.standard.Fidelity;
import java.io.File;

public class Demo2 {
    public static void main(String[] args) {
        File file = new File("C:\\Users\\ASUS\\Desktop\\Files\\"+"documnet\\"+"txt");
        if(file.exists()){
            file.delete();
        }else{
            file.mkdirs();
        }



    }
}
